/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.server.modules.sys.service.valicode;

import com.server.common.persistence.Page;
import com.server.common.service.CrudService;
import com.server.modules.sys.dao.valicode.ValiCodeDao;
import com.server.modules.sys.entity.valicode.ValiCode;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * 验证码Service
 * @author 颜洪毅
 * @version 2016-08-15
 */
@Service
@Transactional(readOnly = true)
public class ValiCodeService extends CrudService<ValiCodeDao, ValiCode> {

	public ValiCode get(String id) {
		return super.get(id);
	}
	
	public List<ValiCode> findList(ValiCode valiCode) {
		return super.findList(valiCode);
	}
	
	public Page<ValiCode> findPage(Page<ValiCode> page, ValiCode valiCode) {
		return super.findPage(page, valiCode);
	}
	
	@Transactional(readOnly = false)
	public void save(ValiCode valiCode) {
		super.save(valiCode);
	}
	
	@Transactional(readOnly = false)
	public void delete(ValiCode valiCode) {
		super.delete(valiCode);
	}
	
}